package com.ctgu.examonline.service;

import com.ctgu.examonline.entity.QueryInfo;
import com.ctgu.examonline.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentService {

    /*保存*/
    void save(Student student);

    /*登录*/
    Student login(Integer stu_no, String stu_pwd);

    /*查询所有学生*/
    List<Student> selectAllStudent();

    /*查询所有学生--自带分页查询*/
    List<Student> getAllStudent(String stu_name, Integer pageStart, Integer pageSize);
    Integer getStudentCounts(String stu_name);
}
